package cn.stylefeng.guns.modular.merchant.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

@Data
@TableName("erp_plu")
public class ErpPlu implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 主键id
	 */
	@TableId(value = "id", type = IdType.ID_WORKER)
	private String id;

	@TableField("plucode")
	private String pluCode;

	@TableField("plu_type")
	private String pluType;

	@TableField("url")
	private String url;

	@TableField("thumbnailUrl")
	private String thumbnail_url;

	@TableField("price")
	private BigDecimal price;

	@TableField(value = "create_time", fill = FieldFill.INSERT)
	private Date createTime;

	@TableField(value = "update_time", fill = FieldFill.UPDATE)
	private Date updateTime;

}
